/**
 * @class			Jx.data.Source
 * @description	create/read/update/delete data from a data center resource
 * 					manages query transactions of the data center
 */
Jx.declare('Jx.data.Source', {

	 $extend: 'Jx.Base',

	 $requires: [

		  'Jx.data.Operation'

	 ],

	 $accessors: {

		  

	 },

	 $actions: [

		  //-- query: creates data cache that can be used for
		  'query'

	 ],

	 transactions: undefined,

	 name: undefined,

	 constructor: function(dsn){

		  if (Jx.isString(dsn, true)){

				this.name = dsn;

				this.$super(

					 Array.prototype.slice.call(arguments, 1)

				);

		  } else {

				throw Jx.createError('invalid datasource name [', dsn, ']');

		  }

	 }








});
